package com.cssl.domain.dto;

public class OrderInfoDto {
    Integer goodsId; //(商品id)直购,团购需要传给我
    Integer number;//(直购,团购的商品数量)直购,团购需要传给我
    Integer groupId;//团购规则id,团购需要传给我
    String specifications; //规格参数 , 直购,团购需要传给我
    Integer userId;//用户id
    Integer groupOnId;  //别人的团购id

    public Integer getGroupOnId() {
        return groupOnId;
    }

    public void setGroupOnId(Integer groupOnId) {
        this.groupOnId = groupOnId;
    }

    public OrderInfoDto() {
    }

    public OrderInfoDto(Integer goodsId, Integer number, Integer groupId, String specifications, Integer userId, Integer groupOnId) {
        this.goodsId = goodsId;
        this.number = number;
        this.groupId = groupId;
        this.specifications = specifications;
        this.userId = userId;
        this.groupOnId = groupOnId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
